package org.tigris.subversion.svnant.selectors;

import java.io.File;
import org.apache.tools.ant.BuildException;
import org.tigris.subversion.svnclientadapter.ISVNClientAdapter;
import org.tigris.subversion.svnclientadapter.ISVNStatus;
import org.tigris.subversion.svnclientadapter.SVNClientException;

public abstract class StatusBasedSelector extends BaseSvnSelector
{
  public final boolean isSelected(ISVNClientAdapter paramISVNClientAdapter, File paramFile1, String paramString, File paramFile2)
  {
    try
    {
      ISVNStatus localISVNStatus = paramISVNClientAdapter.getSingleStatus(paramFile2);
      return isSelected(localISVNStatus);
    }
    catch (SVNClientException localSVNClientException)
    {
        throw new BuildException(localSVNClientException);
    }
  }

  public abstract boolean isSelected(ISVNStatus paramISVNStatus);
}

/* Location:           C:\Users\Administrator\Desktop\svnant.jar
 * Qualified Name:     org.tigris.subversion.svnant.selectors.StatusBasedSelector
 * JD-Core Version:    0.6.0
 */